package vip.xiaonuo.controller;


import org.springframework.web.bind.annotation.*;
import vip.xiaonuo.core.context.constant.ConstantContextHolder;
import vip.xiaonuo.core.pojo.response.ResponseData;

@RestController
public class ProcessController {

    @GetMapping("/process/getCurrentIp")
    public ResponseData getCurrentIp() {
        return ResponseData.success(ConstantContextHolder.getCurrentImageIp());
    }
}
